﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using CTP.Entitys;

namespace CTP.ComWrap
{
    [ComVisible(false)]
    public delegate void OnAccountSummaryHandle(AccountSummaryEventArgs e);

    [Guid("6d9200b8-f4d3-4c66-97a6-2ac9646ec3bc")]
    public interface IAccountSummaryEventArgs
    {
        ReturnInfo ReturnInfo { get; set; }
        AccountInformation AccountInformation { get; set; }
        int RequestID { get; set; }
    }

    [Guid("e33591a1-6bc1-47f9-b4b6-d7053bd156a0")]
    [ClassInterface(ClassInterfaceType.None)]
    public class AccountSummaryEventArgs : EventArgs, IAccountSummaryEventArgs
    {
        public ReturnInfo ReturnInfo { get; set; }
        public AccountInformation AccountInformation { get; set; }
        public int RequestID { get; set; }
    }

}
